package org.example.user.mapper;


import org.apache.ibatis.annotations.Mapper;
import org.example.entity.User;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author fanfutian
 * @since 2025-04-24
 */
@Mapper
public interface UserMapper  {

    User selectUserByUsername(String username);

    User selectById(Long userId);

    void updateById(User user);
}
